#app {
  width: 100%;
  height: 100%;
}

// =================================
// ==============scrollbar==========
// =================================

::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}

// ::-webkit-scrollbar-track {
//   background: transparent;
// }

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  // background: rgba(0, 0, 0, 0.6);
  background-color: rgba(144, 147, 153, 0.3);
  // background-color: rgba(144, 147, 153, 0.3);
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background-color: @border-color-dark;
}

[data-theme='dark'] {
  ::-webkit-scrollbar-thumb:hover {
    background-color: #5e6063;
  }
}

// =================================
// ==============nprogress==========
// =================================
#nprogress {
  pointer-events: none;

  .bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 2px;
    background-color: @primary-color;
    opacity: 0.75;
  }
}

// =======================================
// ============ [sjl] 按钮组样式 ==========
// =======================================
.j-table-operator {

  // Button按钮间距
  .ant-btn {
    margin: 0 8px 8px 0;
    transition: margin 0s;
  }

  &>.ant-btn:last-of-type {
    margin: 0 0 8px 0;
  }

  .ant-btn-group,
  &.ant-btn-group {
    .ant-btn {
      margin: 0;
      transition: margin 0s;
    }

    &>.ant-btn:last-of-type {
      margin: 0 8px 8px 0;
    }
  }
}

// ========================================
// ============ [sjl] 底部按钮样式 ==========
// ========================================
.j-box-bottom-button {
  height: 28px;

  &-float {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e8e8e8;
    padding: 10px 16px;
    text-align: right;
    background: #fff;
    border-radius: 0 0 2px 2px;

    & .ant-btn {
      margin-left: 8px;
    }
  }

  &.offset-20 &-float {
    left: -20px;
    right: -20px;
    bottom: -20px;
  }
}

.jeecg-layout-content {
  .jeecg-basic-table-form-container {
    padding: 24px !important;

    .ant-form {
      padding: 24px;
      margin-bottom: 24px;
    }

    .ant-table-wrapper {
      padding-left: 24px;
      padding-right: 24px;
      padding-top: 16px;
      padding-bottom: 16px;
    }
  }
}

.padding-24 {
  padding: 24px;
}

.wyf-drawer {
  .jeecg-basic-drawer-footer {
    border-top: 1px solid #f0f0f0;
  }

  &.jeecg-basic-drawer {
    .ant-drawer-body {
      .scrollbar__wrap {
        padding: 4px 24px !important;
      }

      .ant-form-item {
        margin-bottom: 20px;

        .ant-form-item-label>label {
          color: rgba(0, 0, 0, 0.45);
        }
      }
    }
  }

  // 详情
  .wyf-form-item-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
  }

  .wyf-form-item-title {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    line-height: 24px;
    padding-top: 20px;
    display: block;

    &::before {
      content: '';
      display: inline-block;
      width: 5px;
      height: 14px;
      background: #0070ff;
      border-radius: 2px 2px 2px 2px;
      margin-right: 10px;
      vertical-align: -1px;
    }
  }

  .wyf-form-item-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    line-height: 22px;
    display: inline-block;
    min-width: 70px;
    text-align: right;
  }

  .wyf-form-item-text {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.9);
    line-height: 22px;
  }
}

.wyf-modal {
  .jeecg-modal-content>.scroll-container {
    padding: 24px;
  }
}

.wyf-m-r-20 {
  margin-right: 20px;
}

.wyf-flex {
  display: flex;
}

.text-red {
  color: #fa541c;
}

.text-green {
  color: #52c41a;
}

.text-waring {
  color: #faad14;
}

// ========================================
// ============ [screen] 弹窗 ==========
// ========================================
.mixins-detail-option {
  background: radial-gradient(rgba(0, 20, 53, 0.61), rgba(3, 48, 105, 0.77));
  box-shadow: 0px 0px 55px 0px #083474 inset;
  border: 2px solid;
  border-image: linear-gradient(129deg, #1371d0 16%, #31a2ed 58%, #134fc5) 2 2;
}

.jlw-model {
  .ant-modal-content {
    background: transparent;
    // background: radial-gradient(rgba(0, 20, 53, 0.61), rgba(3, 48, 105, 0.77));
    box-shadow: 0px 0px 55px 0px #2c78e7 inset;
    border: 1px solid;
    border-image: linear-gradient(180deg, rgba(23, 120, 208, 0), rgba(23, 120, 208, 1), rgba(23, 120, 208, 1)) 1 1;

    .ant-modal-close {
      top: 2px;
    }

    .ant-modal-close-icon {
      color: #08B5FF;
      font-size: 15px;
    }

    .ant-modal-header {
      //border-bottom: 1px solid;
      // text-align: center;
      //background: url('../assets/images/screen/detail-bg.png') no-repeat top center;
      // border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%, rgba(255, 255, 255, 0) 100%) 1 1;
      // background: transparent;
      // background-size: auto 100%;
      background: linear-gradient(180deg, #08506E 0%, #032533 100%);

      border-radius: 0px 0px 0px 0px;
      border: none;
      border-bottom: 1px solid #1798D0;
      height: 32px;
      line-height: 32px;
      padding: 0;

      .ant-modal-title {
        color: #fff;
        font-weight: 400;
        background: url('../assets/images/screen/title-bg.png') no-repeat bottom left;
        background-size: auto 35px;
        padding: 8px 14px 8px 5px;
        position: relative;
        top: -5px;
        font-size: 18px;

        // line-height: 32px;
        // height: 32px;
        // 标题

        .side-title {
          .side-title-text {
            img {
              vertical-align: -1px;
            }
          }

        }
      }
    }

    .ant-modal-body {
      max-height: 600px;
      overflow: auto;
      min-height: 310px;
      background: #031733;

      .jlw-card {
        background: transparent;

        .ant-form {
          color: #fff;
        }

        .ant-form-item,
        .ant-radio-wrapper {
          color: #fff;
        }

        .ant-form-item-label {
          &>label {
            color: #fff;
          }
        }

        .ant-input,
        .ant-input-number,
        .ant-select-selection {
          border: 1px solid #5c90ba;
          background: transparent;
          color: #fff;
          width: 100%;
        }

        // .minxins-form();
      }
    }

    .ant-modal-footer {
      border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%, rgba(255, 255, 255, 0) 100%) 1 1;
    }
  }
}